package com.lc.luzhengtang.conn;

import com.google.gson.Gson;
import com.lc.luzhengtang.bean.CommenBean;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/6/16.
 */
@HttpInlet(Conn.INDEX_SIGN)
public class ConnSign extends BaseAsyPost<CommenBean> {

    public String member_id;

    public ConnSign(String member_id,AsyCallBack<CommenBean>asyCallBack) {
        super(asyCallBack);
        this.member_id = member_id;
    }


    @Override
    protected CommenBean parser(JSONObject object) throws Exception {
        Gson gson=new Gson();

        CommenBean commenBean=new CommenBean();
        commenBean=gson.fromJson(object.toString(),CommenBean.class);


        return  commenBean;
    }
}
